package cn.e4j.modular.system.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalDate;
import java.io.Serializable;

import org.springframework.format.annotation.DateTimeFormat;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yuan_rz
 * @since 2019-03-12
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("SYS_LOADLOG")
public class SysLoadlog extends PO<SysLoadlog> {

    private static final long serialVersionUID = 1L;

    private String REMARK;

    @TableField(fill = FieldFill.INSERT)
    private String CREATE_BY;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime START_TIME;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime END_TIME;

    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime CREATE_DATE;

    private String IS_SUCCESS;

    private String LOAD_TYPE;

    private String OPERATOR;

    @TableField(fill = FieldFill.INSERT)
    private String ID;



    @Override
    protected Serializable pkVal() {
        return this.ID;
    }

}
